﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AutoMapDemo.Models
{
    public class Person
    {
        public string Name { get; set; } = null!;
        public string Age { get; set; } = null!;
        public string Address { get; set; } = null!;
        public BasePerson BasePerson { get; set; } = null!;
    }

    public class PersonA
    {
        public string Name { get; set; } = null!;
        public uint Age { get; set; }
        public string Address { get; set; } = null!;
        public BasePerson BasePerson { get; set; } = null!;
    }

    public class BasePerson
    {
        public string School { get; set; } = null!;
    }
}
